package com.elastic.util;

/**
 * @description: es
 * @author: zyj
 * @create: 2019-12-26 13:29
 **/
public enum  EnumTypes {

    ES_FILEDDATA("1", "开启缓存"),
    ES_INDEX("1", "添加分词"),
    ES_ANALYZER_IK("ik_smart", "IK分词"),
    ES_ANALYZER_IK_MAX("ik_max_word", "IK分词"),
    ES_ANALYZER_HANLP("analyzer", "hanlp分词"),
    ES_ISINDEX("1", "添加到es索引");


    private String value;
    private String descripe;

    EnumTypes(String value, String descripe){
        this.value = value;
        this.descripe = descripe;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDescripe() {
        return descripe;
    }

    public void setDescripe(String descripe) {
        this.descripe = descripe;
    }
}
